.class public Lcn/domob/android/ads/DomobInterstitialAd;
.super Ljava/lang/Object;
.source "SourceFile"


# static fields
.field public static final INTERSITIAL_SIZE_300X250:Ljava/lang/String; = "300x250"

.field public static final INTERSITIAL_SIZE_600X500:Ljava/lang/String; = "600x500"

.field public static final INTERSITIAL_SIZE_FULL_SCREEN:Ljava/lang/String;

.field private static a:Lcn/domob/android/ads/H;


# instance fields
.field private b:Lcn/domob/android/ads/t;


# direct methods
.method static constructor <clinit>()V
    .locals 2

    new-instance v0, Lcn/domob/android/ads/H;

    const-class v1, Lcn/domob/android/ads/DomobInterstitialAd;

    invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Lcn/domob/android/ads/H;-><init>(Ljava/lang/String;)V

    sput-object v0, Lcn/domob/android/ads/DomobInterstitialAd;->a:Lcn/domob/android/ads/H;

    const/4 v0, 0x0

    sput-object v0, Lcn/domob/android/ads/DomobInterstitialAd;->INTERSITIAL_SIZE_FULL_SCREEN:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V
    .locals 1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    new-instance v0, Lcn/domob/android/ads/t;

    invoke-direct {v0, p1, p2, p3}, Lcn/domob/android/ads/t;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    iput-object v0, p0, Lcn/domob/android/ads/DomobInterstitialAd;->b:Lcn/domob/android/ads/t;

    return-void
.end method


# virtual methods
.method public isInterstitialAdReady()Z
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/DomobInterstitialAd;->b:Lcn/domob/android/ads/t;

    invoke-virtual {v0}, Lcn/domob/android/ads/t;->n()Z

    move-result v0

    return v0
.end method

.method public loadInterstitialAd()V
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/DomobInterstitialAd;->b:Lcn/domob/android/ads/t;

    invoke-virtual {v0}, Lcn/domob/android/ads/t;->m()V

    return-void
.end method

.method public setInterstitialAdListener(Lcn/domob/android/ads/DomobInterstitialAdListener;)V
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/DomobInterstitialAd;->b:Lcn/domob/android/ads/t;

    invoke-virtual {v0, p1}, Lcn/domob/android/ads/t;->a(Lcn/domob/android/ads/DomobInterstitialAdListener;)V

    return-void
.end method

.method public setKeyword(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/DomobInterstitialAd;->b:Lcn/domob/android/ads/t;

    invoke-virtual {v0, p1}, Lcn/domob/android/ads/t;->setKeyword(Ljava/lang/String;)V

    return-void
.end method

.method public setUserBirthdayStr(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/DomobInterstitialAd;->b:Lcn/domob/android/ads/t;

    invoke-virtual {v0, p1}, Lcn/domob/android/ads/t;->setUserBirthdayStr(Ljava/lang/String;)V

    return-void
.end method

.method public setUserGender(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/DomobInterstitialAd;->b:Lcn/domob/android/ads/t;

    invoke-virtual {v0, p1}, Lcn/domob/android/ads/t;->setUserGender(Ljava/lang/String;)V

    return-void
.end method

.method public setUserPostcode(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcn/domob/android/ads/DomobInterstitialAd;->b:Lcn/domob/android/ads/t;

    invoke-virtual {v0, p1}, Lcn/domob/android/ads/t;->setUserPostcode(Ljava/lang/String;)V

    return-void
.end method

.method public showInterstitialAd(Landroid/content/Context;)V
    .locals 2

    iget-object v0, p0, Lcn/domob/android/ads/DomobInterstitialAd;->b:Lcn/domob/android/ads/t;

    invoke-virtual {v0}, Lcn/domob/android/ads/t;->n()Z

    move-result v0

    if-eqz v0, :cond_0

    sget-object v0, Lcn/domob/android/ads/DomobInterstitialAd;->a:Lcn/domob/android/ads/H;

    const-string v1, "Show Interstitial View."

    invoke-virtual {v0, v1}, Lcn/domob/android/ads/H;->b(Ljava/lang/String;)V

    iget-object v0, p0, Lcn/domob/android/ads/DomobInterstitialAd;->b:Lcn/domob/android/ads/t;

    invoke-virtual {v0, p1}, Lcn/domob/android/ads/t;->a(Landroid/content/Context;)V

    :goto_0
    return-void

    :cond_0
    sget-object v0, Lcn/domob/android/ads/DomobInterstitialAd;->a:Lcn/domob/android/ads/H;

    const-string v1, "Interstial ad is not ready"

    invoke-virtual {v0, p0, v1}, Lcn/domob/android/ads/H;->d(Ljava/lang/Object;Ljava/lang/String;)V

    goto :goto_0
.end method
